// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) ansi 
// Source File Name:   RoleTag.java

package edu.whu.tao.tag;

import javax.servlet.jsp.JspException;


public abstract class RoleTag extends SecureTag {

	public RoleTag() {
		name = null;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int onDoStartTag() throws JspException {
		boolean show = showTagBody(getName());
		return !show ? 0 : 1;
	}

	protected abstract boolean showTagBody(String s);

	private String name;
}
